package br.com.news.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.news.database.daos.interfaces.INoticiaDao;
import br.com.news.database.entities.NoticiaEntity;
import br.com.news.database.utils.GenericService;
import br.com.news.database.utils.interfaces.IGenericDao;
import br.com.news.utils.database.beans.NoticiaBean;
import br.com.news.utils.database.interfaces.INoticiaService;

@Named
public class NoticiaService extends GenericService<NoticiaBean, NoticiaEntity, Long> implements INoticiaService{

	@Inject
	private INoticiaDao noticiaDao;

	@Override
	protected IGenericDao<NoticiaEntity, Long> getConcreteDao() {
		return this.noticiaDao;
	}



}
